package cn.virens.server.aio.listener.simple;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import cn.virens.server.aio.channel.AioChannel;
import cn.virens.server.aio.listener.AioStateExceptionListener;

public class SimpleAioStateExceptionListener implements AioStateExceptionListener {
	private final Logger logger = LoggerFactory.getLogger(getClass());

	@Override
	public void onFailed(AioChannel aioChannel, Throwable ex) {
		logger.error("连接异常:" + aioChannel + "->" + ex.getMessage(), ex);
	}
}
